package com.twq.mmail002.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author twq
 * @date 2021/9/6 10:29
 */
@Getter
public enum  GenderEnum {
    MAN(1,"男"),
    WOMAN(0,"女");

    @EnumValue
    private Integer code;
    private String value;

    GenderEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }
}
